package basicio;
class Data{
	private String name;
	private int id;
	public static float gpa = 3.99f;
	public Data(String n){	name = n; }
	public Data(int i)   {  id = i;   }
	public Data(String n, int i) { name = n;  id = i;   }
	public String toString(){
		return "[ " + name + ", " + id + ", " + gpa + " ]";
	}
}
public class Example {
	public static void main(String[] args) {
		Data d = new Data("Nick", 3);
		System.out.println( d );
		Data e = new Data("Amanda" , 100);
		e.gpa = 4.0f;
		System.out.println( e );
		System.out.println( d );
	}
}
